ExternalFilesInMediaLibrary\ExternalFiles\Files D

Total Complexity 176
Dependencies 9
Dependents 11
Total lines 1,764
Lines of code 802
Logical lines of code 434
Comment lines 698
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
add_url()
B
33 21 92
add_media_box_with_file_info()
B
36 16 92
image_downsize()
B
39 16 68
switch_hosting_via_ajax()
A
45 8 44
check_file_availability_via_ajax()
S
49 6 32
get_attachment_url()
S
57 6 16
get_files()
S
50 5 30
get_file_by_title()
S
51 5 27
get_file_by_url()
S
51 5 27
disable_attachment_page()
S
56 5 19
get_imported_external_files()
S
49 4 32
get_attachment_link()
S
57 5 17
check_files()
S
58 5 16
set_file_title()
S
58 5 15
wp_calculate_image_srcset()
S
61 5 13
import_end()
S
53 4 24
change_media_row_actions()
S
57 4 16
check_runtime()
S
57 4 15
get_attached_file()
S
62 4 13
reset_thumbnails_by_request()
S
58 3 16
cleanup_temp_file()
S
62 3 12
wp_get_attachment_metadata()
S
64 3 11
check_srcset_meta()
S
64 3 11
optimize_file_title()
S
62 3 11
log_url_deletion()
S
65 3 8
add_media_box()
S
63 3 10
delete_file_from_cache()
S
67 3 8
init()
S
49 1 29
add_help()
S
54 1 19
get_instance()
S
72 2 6
set_import_marker_for_attachments()
S
64 2 10
use_link_regex()
S
70 2 6
set_import_start_time()
S
80 1 3
get_import_start_time()
S
82 1 3
get_file()
S
80 1 3
get_thumbnail_reset_url()
S
65 1 10
__clone()
S
98 1 1
delete_file()
S
76 1 4
get_login()
S
82 1 3
set_login()
S
81 1 3
get_password()
S
82 1 3
set_password()
S
81 1 3
__construct()
S
98 1 1